package com.sharpjvm.interpreter.command;

import com.sharpjvm.bytecode.bean.ClassInfo;
import com.sharpjvm.bytecode.bean.MethodInfo;
import com.sharpjvm.bytecode.bean.command.Command;
import com.sharpjvm.interpreter.ExecuteException;

/**
 *
 *
 * User: zhuguoyin
 * Date: 13-3-6
 * To change this template use File | Settings | File Templates.
 */
public interface CommandExecutor {

    /**
     * 执行指令的行为。
     *
     * @param command
     */
    void execute(Command command, ClassInfo classInfo, MethodInfo methodInfo) throws ExecuteException;
}
